﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Volo.Abp.Domain.Values;

namespace Mozhi.Abp.Domain.AuthorCenter
{
    public class ApiMetadata : ValueObject
    {
        [JsonProperty]
        public string Path { get; private set; }

        [JsonProperty]
        public string Method { get; private set; }

        [JsonProperty]
        public string ApiScope { get; private set; }

        public ApiMetadata(string path, string method, string apiScope)
        {
            Path = path;
            Method = method;
            ApiScope = apiScope;
        }

        protected override IEnumerable<object> GetAtomicValues()
        {
            throw new NotImplementedException();
        }
    }
}
